﻿using Newtonsoft.Json;

namespace Infrastructure.ExternalService.Core.Requests
{
    public class CreateClueRequest
    {
        /// <summary>
        /// 用户标识（业务上与基础用户表内数据一一关联对应）
        /// </summary>
        [JsonProperty("userId")]
        public string UserId { get; set; }

        /// <summary>
        /// 用户姓名
        /// </summary>           
        [JsonProperty("userName")]
        public string UserName { get; set; }

        /// <summary>
        /// 用户登录账号
        /// </summary>           
        [JsonProperty("userLoginname")]
        public string LoginName { get; set; }

        /// <summary>
        /// 用户性别（M：男，F：女）
        /// </summary>           
        [JsonProperty("userGender")]
        public string Gender { get; set; }

        /// <summary>
        /// 用户微信号
        /// </summary>           
        [JsonProperty("userWechat")]
        public string WeChat { get; set; }

        /// <summary>
        /// 用户手机号
        /// </summary>           
        [JsonProperty("userMobile")]
        public string Mobile { get; set; }

        /// <summary>
        /// 用户手机号码归属地
        /// </summary>           
        [JsonProperty("userMobileareacode")]
        public string MobileAreaCode { get; set; }

        /// <summary>
        /// 用户居住地区编码
        /// </summary>           
        [JsonProperty("userAreacode")]
        public string AreaCode { get; set; }

        /// <summary>
        /// 线索所属品牌
        /// </summary>           
        [JsonProperty("brandId")]
        public string BrandId { get; set; }

        /// <summary>
        /// 线索意向项目
        /// </summary>           
        [JsonProperty("projectId")]
        public string ProjectId { get; set; }

        /// <summary>
        /// 线索项目年份
        /// </summary>           
        [JsonProperty("projectYear")]
        public string ProjectYear { get; set; }

        /// <summary>
        /// 线索所属门店
        /// </summary>           
        [JsonProperty("clueSchool")]
        public string School { get; set; }

        /// <summary>
        /// 线索所属员工
        /// </summary>           
        [JsonProperty("clueOwner")]
        public string Owner { get; set; }

        /// <summary>
        /// 线索来源渠道
        /// </summary>           
        [JsonProperty("clueSourcechannel")]
        public string SourceChannel { get; set; }

        /// <summary>
        /// 线索来源备注
        /// </summary>           
        [JsonProperty("clueSourcenote")]
        public string SourceNote { get; set; }

        /// <summary>
        /// 线索初始来源网址
        /// </summary>           
        [JsonProperty("clueStarturl")]
        public string StartUrl { get; set; }

        /// <summary>
        /// 线索落地来源网址
        /// </summary>           
        [JsonProperty("clueEndurl")]
        public string EndUrl { get; set; }

        /// <summary>
        /// 线索行为类型（注册、登陆、其它 等文字描述）
        /// </summary>           
        [JsonProperty("clueActiontype")]
        public string ActionType { get; set; }

        /// <summary>
        /// 线索录入类型（E:员工录入;C:咨询添加;I:批量导入;P:推广;A:代理商）
        /// </summary>           
        [JsonProperty("clueInputtype")]
        public string InputType { get; set; }

        /// <summary>
        /// 线索新增状态（Y是，N否）
        /// </summary>           
        [JsonProperty("clueNewstatus")]
        public string NewStatus { get; set; }

        /// <summary>
        /// 线索导入批次标识
        /// </summary>           
        [JsonProperty("clueimpId")]
        public string ClueImpId { get; set; }

        /// <summary>
        /// 线索来源唯一标识
        /// </summary>
        [JsonProperty("clueSourceid")]
        public string SourceId { get; set; }

        /// <summary>
        /// 线索来源时间
        /// </summary>
        [JsonProperty("clueSourcetime")]
        public string SourceTime { get; set; }

        /// <summary>
        /// 线索来源推广页标识
        /// </summary>
        [JsonProperty("clueSourcepageid")]
        public string SourcePageId { get; set; }

        /// <summary>
        /// 线索来源推广页名称
        /// </summary>
        [JsonProperty("clueSourcepagename")]
        public string SourcePageName { get; set; }

        /// <summary>
        /// 线索来源推广表单标识
        /// </summary>
        [JsonProperty("clueSourceformid")]
        public string SourceFormId { get; set; }

        /// <summary>
        /// 线索来源推广表单名称
        /// </summary>
        [JsonProperty("clueSourceformname")]
        public string SourceFormName { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        [JsonProperty("custBirthday")]
        public string BirthDay { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>           
        [JsonProperty("custEmail")]
        public string Email { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>           
        [JsonProperty("custIdcard")]
        public string IdCard { get; set; }

        /// <summary>
        /// 工作单位
        /// </summary>           
        [JsonProperty("custWorkUnit")]
        public string WorkUnit { get; set; }

        /// <summary>
        /// 备注
        /// </summary>           
        [JsonProperty("custMemo")]
        public string Memo { get; set; }

        /// <summary>
        /// 代理商标识
        /// </summary>           
        [JsonProperty("clueAgentid")]
        public string AgentId { get; set; }

        /// <summary>
        /// 代理商名称
        /// </summary>           
        [JsonProperty("clueAgentname")]
        public string AgentName { get; set; }

        /// <summary>
        /// 线索关联项目标识
        /// </summary>           
        [JsonProperty("custprojId")]
        public string CustProjId { get; set; }

        /// <summary>
        /// 线索分配状态 (Y:已分配;W:待分配;D:延迟分配;U:未处理)
        /// </summary>           
        [JsonProperty("clueDiststatus")]
        public string DistStatus { get; set; }
    }
}
